<!DOCTYPE html>
<html>
<head>
    {include file="layout:_meta" /}
</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">手机号</label>
        <div class="layui-input-block"  style="line-height:36px;">
           {:isset($list.phone)?$list.phone:''}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">昵称</label>
        <div class="layui-input-block" style="line-height:36px;">
           {:isset($list.nickname)?$list.nickname:''}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">当前余额</label>
        <div class="layui-input-block">
            <input type="text" name="before_balance" readonly="true"  placeholder="当前余额" style="background:#DDD;color: red;"  autocomplete="off" value=" {:isset($wallet.balance)?$wallet.balance:'0'}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">支付类型</label>
        <div class="layui-input-block">
            <select name="pay_type">
                <option value="0">--支付类型--</option>
                <option value="1">微信</option>
                <option value="2">支付宝</option>
                <option value="3">现金</option>
                <option value="4">银行转账</option>
                <option value="5">其他</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">充值金额</label>
        <div class="layui-input-block">
            <input type="text" name="balance" lay-verify="" placeholder="请输入充值金额" lay-reqtext=""  autocomplete="off" value="0" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea name="remark" lay-verify=""  placeholder="请输入充值备注" autocomplete="off" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="hidden" name="user_id" value="{:isset($list['id'])?$list['id']:''}">
        <input type="hidden" name="wxapp_id" value="{:isset($list['wxapp_id'])?$list['wxapp_id']:''}">
        <input type="hidden" name="token" value="{:isset($list['token'])?$list['token']:''}">
        <input type="button" lay-submit lay-filter="addEdit" id="addEdit" value="确认">
    </div>
</div>
{include file="layout:_footer" /}
<script>
    layui.config({
        base: '__static__/admin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form'], function(){
        var form = layui.form,$ = layui.$;


    })
</script>
</body>
</html>